Scanner scanner=new Scanner(System.in);
int a=scanner.nextInt();
int b=scanner.nextInt();
int c=scanner.nextInt();
int d;
d=a>b?a:b;					//输出a,b中的最大数,赋值给d
d=c>d?c:d;					//输出c,d中的最大数,赋值给d
System.out.println("max="+d);
